home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1993 / The Association of Shareware Professionals Advantage CD-ROM 1993.iso / files / utilties / ps52b / ps.doc < prev    next >
Text File  |  1992-07-01  |  63KB  |  1,479 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                    P S E A R C H
  9.  
  10.  
  11.                                                                                                                     -------------------------
  12.                              Users Guide and Reference
  13.                              -------------------------
  14.  
  15.  
  16.  
  17.  
  18.                                    Version 5.2B
  19.                                     July 1992
  20.  
  21.  
  22.  
  23.  
  24.                                           ┌─────────┐
  25.                                     ┌─────┴───┐     │              (tm)
  26.                                     │         │o    │──────────────────
  27.                                     │   ┌─────┴╨──┐ │  Association of
  28.                                     │   │         │─┘  Shareware
  29.                                     └───│    o    │    Professionals
  30.                                     ────│    ║    │────────────────────
  31.                                         └────╨────┘    * Member *
  32.  
  33.                                Patri-Soft
  34.  
  35.                           (714) 352-2820 (Voice)
  36.                           (714) 352-2825 (BBS)
  37.                           (714) 352-1527 (FAX)
  38.  
  39.               Copyright 1986, 1987, 1988, 1989, 1990, 1992 by Patri-Soft
  40.  
  41.  
  42.  
  43.  
  44.  
  45.         Registering The Utilities
  46.         -------------------------
  47.  
  48.         PSEARCH is distributed under the Shareware concept. This allows
  49.         users to evaluate software for a short time to determine if it
  50.         is useful to them.  If you decide the software is of value to
  51.         you and decide to keep and use, you are required to register it.
  52.  
  53.         This concept allows for quality software to be distributed at a
  54.         reasonable cost.  Hundreds of hours of my time has been invested
  55.         in PSEARCH.  Continued registration will justify the continued
  56.         upgrading of this utility to insure it remains up to date with
  57.         current technology.  In any case, I do greatly appreciate all
  58.         users that care enough to register.  I try to provide the best
  59.         possible software for all you faithful supporting users.
  60.  
  61.  
  62.         You may use the order form in ORDER.FRM when registering.
  63.  
  64.         Send registration requests to:
  65.  
  66.                   Patri-Soft
  67.                   5225 Canyon Crest Drive
  68.                   Suite 71-358
  69.                   Riverside, CA   92507
  70.  
  71.         The registration charge is a one time fee that entitles you to
  72.         all future versions of the product.  These may either be
  73.         obtained from normal Shareware sources or from me.  I do not
  74.         automatically  send product updates to registered users.  It is
  75.         impossible to provide automatic upgrades at the low costs of
  76.         these utilities.  If you would like to receive the next version
  77.         of the software, add an additional $15 to your order and
  78.         indicate on the order form you wish to receive the next update
  79.         version.  You will be sent the next version along with an
  80.         optional order form to request subsequent releases.
  81.  
  82.    Site licensing plans for one or more Patriquin utilities:
  83.    ---------------------------------------------------------
  84.  
  85.          Contact Patri-Soft for information
  86.  
  87.  
  88.         VISA / Mastercard / Telephone Registration
  89.         ------------------------------------------
  90.  
  91.         You may place a telephone order for the utilities using your credit
  92.         card by calling Nelson Ford's Public (Software) Library.
  93.  
  94.              Telephone orders: 800-242-4775 or 713-665-7017
  95.  
  96.         The  PSL  supplies Shareware  software  at  a nominal  cost  to its
  97.         customers.  Consider them for all your Shareware needs.
  98.                              ----     OR    ------
  99.         You may call the Patri-Soft BBS and register online.  The number
  100.         is (714) 352-2825 1200/14000 8-N-1.  Fill out script 2 to place
  101.         your order.  Credit card orders are also accepted through U.S. Mail.
  102.  
  103.  
  104.          REGISTRATION
  105.          ------------
  106.  
  107.          Patri-Soft provides full support to users, both registered and
  108.          non-registered.  We provide support through several different way:
  109.  
  110.                  U.S. Mail  -  You may send us problem reports through
  111.                                the mail. Any extended information that
  112.                                you can provide is greatly appreciated.
  113.                                (i.e. screen shots, the actual problem
  114.                                file, etc).
  115.  
  116.                  Telephone  -  You may contact us at (714) 352-2820 to
  117.                                discuss problems.  However, extended
  118.                                telephone support may be limited as the
  119.                                circumstances require.
  120.  
  121.                  CIS        -  You may contact us on CompuServe
  122.                                (76347,2477).  This is usually the
  123.                                fastest way.
  124.  
  125.                  FAX        -  You may FAX us problem reports and
  126.                                orders at (714) 352-1527.
  127.  
  128.  
  129.         A BBS is in operation 24 hours a day to take your enhancement
  130.         requests and problem reports.  The number for this is (714)
  131.         352-2825.  (1200/14000 8-N-1).  Extended access is provided to
  132.         registered users of the utilities.
  133.  
  134.         Patri-Soft offers a money back guarrentee if you are not
  135.         satisfied with the software.  Simply contact us with the reasons
  136.         of your dissatisfaction, and we will gladly refund your money.
  137.  
  138.         We at Patri-Soft pride ourself on our user support.  If for some
  139.         reason you feel that you have not gotten the service you
  140.         deserve, PLEASE let us know.  We try to respond to ALL users
  141.         quickly and politely.
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.                                        PSEARCH  . . . . . . . . . . . .   2
  150.                PSEARCH Features . . . . . . . . . . . . . . . . . . . .   3
  151.                Implementing PSEARCH . . . . . . . . . . . . . . . . . .   3
  152.                     PSEARCH Menu Mode . . . . . . . . . . . . . . . . .   4
  153.                          Main Menu Options  . . . . . . . . . . . . . .   4
  154.                          Text Search Option . . . . . . . . . . . . . .   5
  155.                          File Name Search Option  . . . . . . . . . . .   8
  156.           Advanced Options  . . . . . . . . . . . . . . . . . . . . . .   8
  157.                          PSEARCH Output Data Display  . . . . . . . . .   9
  158.                     PSEARCH Command Line Mode . . . . . . . . . . . . .  10
  159.                PSEARCH Command and Parameters . . . . . . . . . . . . .  10
  160.                     Flex Filename Searching Control Characters  . . . .  11
  161.                                    Exclude File . . . . . . . . . . . .  14
  162.                                    Examples of /EX Parameter  . . . . .  15
  163.                                    Examples of /X Parameter . . . . . .  20
  164.                PSEARCH Color and Monitor Support  . . . . . . . . . . .  20
  165.                Pausing the Search . . . . . . . . . . . . . . . . . . .  21
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  175.  
  176.                                        PSEARCH
  177.  
  178.  
  179.           PSEARCH is a generalized search facility for all PC users.
  180.           PSEARCH can search the current directory or all directories of an
  181.           hard disk for files or text in files.  PSEARCH is not just
  182.           another search type command. It works with normal DOS command
  183.           parameters or with menus. This ensures that PSEARCH can be used
  184.           by anyone that uses a PC.
  185.            
  186.           PSEARCH goes much further than just searching for data. Once
  187.           files are found, you can include file names in DOS commands which
  188.           can either be executed or placed in command files. This turns
  189.           PSEARCH into a very useful utility that can aid in many different
  190.           situations. For instance, if you want to print a selected group
  191.           of files based on how old they are, you can issue a print command
  192.           for each file using PSEARCH. Any DOS command may be generated and
  193.           executed based on the files identified in the search process. The
  194.           only limit to the use of this facility is your imagination.
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  204.  
  205.           PSEARCH Features
  206.  
  207.                List all files on a hard disk that match a wildcard
  208.                specification.
  209.  
  210.                Show the names of any files containing specified text.
  211.  
  212.                Replace found text with user-specified replacement text
  213.  
  214.                Show text lines of any file containing a specified string.
  215.  
  216.                Look for word "Mrs." in any file and preserve the case
  217.                during the search.
  218.  
  219.                Find 123 files containing the word BUDGET and print their
  220.                name.
  221.  
  222.                Compile all C programs that refer to the RECDESC.H include
  223.                file.
  224.  
  225.                Find a word processing document containing the name
  226.                "Wiffle".
  227.  
  228.                Delete any *.DOC files containing "To: Mr. Johnson".
  229.  
  230.                Locate all READONLY files on a disk.
  231.  
  232.                List all files updated today.
  233.  
  234.                Build a DOS command to archive manually selected files from
  235.                one or more directories.
  236.  
  237.                Search multiple drives attached to the system for text or a
  238.                file name.
  239.  
  240.                Search for a file name, even if it has been archived into
  241.                .ZIP, .ARC or .LZH formats.
  242.  
  243.                Limit text search to words, prefixes or suffixes.  This
  244.                greatly enhances the search by returning only the data you
  245.                want.
  246.  
  247.                Exclude files from the search process to greatly improve
  248.                search performance.
  249.  
  250.  
  251.           Implementing PSEARCH
  252.  
  253.           PSEARCH may be executed directly from the DOS command line or you
  254.           may use menus to guide you through the process of entering search
  255.           specifications.  Both modes use the same PS command name. PSEARCH
  256.           determines the difference in modes by the presence or absence of
  257.  
  258.  
  259.  
  260.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  261.  
  262.           command line parameters.  When no command parameters are used,
  263.           the menu mode is used.
  264.  
  265.  
  266.           PSEARCH Menu Mode
  267.  
  268.           To start PSEARCH using the menu mode, enter the PS command at the
  269.           DOS prompt and press <ENTER>.  The following menu will be
  270.           displayed.
  271.  
  272.  
  273.           PSEARCH Main Menu
  274.  
  275.  
  276.           Select a menu option by positioning a highlight bar over the menu
  277.           item you want.  Use the cursor arrow keys to move the highlight
  278.           bar, then press <ENTER> to start the action.  Or you may select a
  279.           menu item by pressing the key corresponding to the first
  280.           character of the menu option.  For example, press <F> to start a
  281.           file name search.
  282.  
  283.           Main Menu Options
  284.  
  285.           Text Search
  286.                     Activates PSEARCH's text search facility.  A menu will
  287.                     be presented allowing you to enter specifications for
  288.                     PSEARCH to use to search for data.
  289.  
  290.                     This option searches within files to find specific
  291.                     text.  It allows you to automatically scan you system's
  292.                     disks to locate files containing specific data
  293.                     contents.  For example, you can find all files on the
  294.                     system that contain the name "Jones".
  295.  
  296.           Change Text
  297.  
  298.                     PSEARCH can locate text in files and replace with user-
  299.                     specified text.  
  300.  
  301.                     This option allows you to search multiple files for a
  302.                     specific word, and substitute anther word in its place. 
  303.                     For example, you could search for "Mr. Jones" and
  304.                     replace it with "Mr. Smith."
  305.  
  306.           File Find
  307.                     This option searches files on your system by the
  308.                     contents of their file names.
  309.  
  310.                     The DIR command provided with DOS allows you to locate
  311.                     files on your system only within a single directory. 
  312.                     When you have many directories and perhaps even
  313.                     multiple hard disks, it becomes impractical to use the
  314.  
  315.  
  316.  
  317.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  318.  
  319.                     DIR command to locate a file when you don't know what
  320.                     directory it exists in.
  321.  
  322.                     PSEARCH Name Search can automatically search all
  323.                     directories and all disk devices to find a specific or
  324.                     pattern file name.
  325.  
  326.           View
  327.                     PSEARCH maintains a file which contains the information
  328.                     found in the previous search.  This file can be
  329.                     reviewed by using the View facility.  Scrolling through
  330.                     the data shows the last 500 lines of the previous
  331.                     search.
  332.  
  333.           Help This option provides several pages of scrollable HELP
  334.                information.  When you exit the help, you will be returned
  335.                to PSEARCH's Main Menu.
  336.  
  337.           Exit to DOS
  338.                     You may exit the PSEARCH menu mode by either selecting
  339.                     this menu option or by simply pressing the <ESCAPE> key
  340.                     from menu mode.
  341.  
  342.                     Upon exiting, PSEARCH will display how long it has been
  343.                     active and provide a summary of its results.
  344.  
  345.           Register
  346.                     When you register the software with Patri-Soft, we will
  347.                     send you codes which will register this version of
  348.                     PSEARCH.  Enter the information EXACTLY as Patri-Soft
  349.                     has provided it to you.
  350.  
  351.           Text Search Option
  352.  
  353.           When you select the Text Search option from PSEARCH's Main Menu,
  354.           the Text Search panel is displayed, allowing you to enter
  355.           specifications indicating the data PSEARCH is to search for.
  356.  
  357.  
  358.           PSEARCH Text Search Entry Panel
  359.  
  360.  
  361.           See the PSEARCH command parameters section for a description of
  362.           all the parameters you may specify on this panel.
  363.  
  364.           Enter the text strings as desired.  PSEARCH will search for the
  365.           text exactly as you specify them.  For example, if you want to
  366.           find the string "foo bar", enter that on text line 1.  PSEARCH
  367.           will only display files that have the text "foo bar" appearing
  368.           exactly as it is now.  If you wanted to find the word "foo"
  369.           and/or "bar", then you would enter "foo" in Text 1 and "bar" on
  370.           text 2.
  371.  
  372.  
  373.  
  374.  
  375.  
  376.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  377.  
  378.           AND/OR logic may be toggled by pressing F7.  Any combination of
  379.           AND/ORs may be used to find the text.  For example, you can
  380.           search for:
  381.                 Foo
  382.                -and-
  383.                 bar
  384.                -or-
  385.                 foz
  386.  
  387.           You may specify how each search string must appear in the file. 
  388.           If you would like to make sure that the case of the match exactly
  389.           matches what you have typed in, press F5.  This alternates the
  390.           case sensitivity on and off.  
  391.  
  392.           You may also specify WHERE the string must be found in relation
  393.           to the word in which it appears.  Press F6 to rotate among
  394.           "Word," "Prefix," "Suffix," or "normal."  If you specify:
  395.  
  396.                Word:          The string must be found as a COMPLETE word.
  397.                Prefix:        The string must be found at the beginning of
  398.                               a word.  
  399.                Suffix:        The string must be found at the END of word.
  400.                Normal:   The string may be found anywhere in a word.
  401.  
  402.           Other Options:
  403.  
  404.           Press Right Arrow and Left Arrow to rotate between choices.
  405.  
  406.           Directories:  Enter where you want PSEARCH to look for text. 
  407.           Available options are:
  408.  
  409.                Path & Subdirectories:        Search the specified path and
  410.                                              all subordinate directories
  411.                                              (tree).
  412.                Current directory:            Search only the files in the
  413.                                              specified directory.
  414.                All files:                         Search all files on all
  415.                                                   specified drives (System)
  416.  
  417.           Display Mode:  This option controls how PSEARCH displays the
  418.           found information.  Available options:
  419.  
  420.                Don't display text:      Suppress all found-text display. 
  421.                                         Show only the filenames of matching
  422.                                         files.
  423.                Show 1st match:          Show only the very first match, and
  424.                                         immediately continue to the next
  425.                                         file.  This can be faster since it
  426.                                         finds only the first match and does
  427.                                         not continue to search the whole
  428.                                         file.
  429.                Related text:            Show approximately 5 lines on
  430.  
  431.  
  432.  
  433.  
  434.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  435.  
  436.                                         either side of the matching text.
  437.                Show all matching text:  PSEARCH will display each line
  438.                                         which contains the relevant matches
  439.  
  440.           Scroll Mode:  This option controls how the text is displayed. 
  441.           Two choices are available:
  442.  
  443.                Continuous:    Show found text continuously.
  444.  
  445.                Stop when full:     Pause when screen is full.
  446.  
  447.           Exclude:  PSEARCH has the capability to exclude certain files
  448.           from searches.  The available options are:
  449.  
  450.                Ignore excludes:    Do not exclude any files from search.
  451.                Use exclude list:   Do exclude the files listed in
  452.                                    PSEARCHT.EXC.
  453.  
  454.           Miscellaneous options:
  455.  
  456.                Line numbers:  Yes, show the approximate line numbers where
  457.                               the found text.
  458.  
  459.                Pause mode:    Yes, Pause on every found match.  No, display
  460.                               continuously.
  461.  
  462.                Letters of drives to search:  Enter extra drives to
  463.                search.
  464.  
  465.  
  466.           Once you have entered all the information required on this panel,
  467.           you may start the search immediately by pressing <F10>.  You may
  468.           also press <F9> to go to another panel to specify advanced search
  469.           options (described below).
  470.  
  471.           Press <F3> to temporarily exit to a PSEARCH window to execute DOS
  472.           commands.  You may enter any DOS command in this window.
  473.  
  474.           The <F10> key is valid from any position on this panel.  If you
  475.           press <ENTER> to proceed through each item on the panel, pressing
  476.           <ENTER> on the last item will also begin the search.
  477.  
  478.           All specifications you enter in this panel (except for pathname
  479.           and search text) are maintained in a special PSEARCH control
  480.           file.  This file (PSEARCH.DAT) is created the first time you run
  481.           PSEARCH and is placed in the same directory as the PSEARCH
  482.           program file (PS.EXE).  This control file allows PSEARCH to
  483.           retain your last search specifications for the next time you use
  484.           the utility.
  485.  
  486.           Change text:  Follow the same procedure as for text searching,
  487.           but enter the text to replace in the specified field.  All other
  488.  
  489.  
  490.  
  491.  
  492.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  493.  
  494.           options are the same.  Press F10 to begin the search and replace
  495.           option.
  496.  
  497.  
  498.           File Name Search Option
  499.  
  500.           When you select the Name Search option from PSEARCH's Main Menu,
  501.           the File Name Search panel is displayed, allowing you to enter
  502.           specifications indicating the files PSEARCH is to search for.
  503.  
  504.  
  505.           PSEARCH File Name Search Entry Panel
  506.  
  507.  
  508.           This panel functions like the Text Search Entry panel shown
  509.           earlier.  See the previous section for an explanation for the
  510.           options listed here.
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.           Advanced Options
  519.  
  520.           When you press <F9> from PSEARCH's Text Search or File Name
  521.           Search panels, the Advanced Options panel is displayed, allowing
  522.           you to enter further specifications for text or file name
  523.           searches.  These advanced options are not necessary for PSEARCH
  524.           to function and may be ignored if desired.
  525.  
  526.           
  527.  
  528.           PSEARCH Advanced Options Panel
  529.  
  530.  
  531.           Print results: PSEARCH will print to the PRN if this options is
  532.                          on.
  533.  
  534.           Logging:       Log the results to PSEARCH.LOG
  535.  
  536.           Attributes:         Enter R to search Read-only, H for hidden, S
  537.                               for system, A for archives.  PSEARCH will
  538.                               only search files matching those
  539.                               specifications.
  540.  
  541.           See the PSEARCH command parameters section for a description of
  542.           the /X.  Once all specifications are entered, begin the search by
  543.  
  544.  
  545.  
  546.  
  547.  
  548.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  549.  
  550.           pressing <F10>, or by pressing <ENTER> from the last entry field
  551.           on the panel.
  552.  
  553.  
  554.  
  555.  
  556.           PSEARCH Output Data Display
  557.  
  558.           When you begin a search, the PSEARCH Output Data panel is
  559.           displayed, allowing you to see the results of the search.  The
  560.           panel below illustrates a search.
  561.  
  562.  
  563.           PSEARCH Output Display Panel
  564.  
  565.  
  566.           The top and bottom portion of the panel display statistics to
  567.           keep you aware of what PSEARCH is searching during processing. 
  568.           The center portion of the display shows the data found that
  569.           matches the search specifications.
  570.  
  571.           For each text match found, PSEARCH displays the file name and
  572.           data matching the search criteria.  The file name is shown on a
  573.           line before the matching text, along with the date and time the
  574.           file was last updated or created and the size of the file (in
  575.           characters).  If DOS attributes are present in the DOS directory
  576.           entry for the file, they are also shown.
  577.  
  578.           The Scroll Back
  579.  
  580.                At any time during the search, you may press any key to
  581.                pause the search.  At this time, you may press F3 to access
  582.                DOS, or Up Arrow to view the lines that have scrolled off
  583.                the screen.
  584.  
  585.                In this scroll back, you may define 5 macros, which when
  586.                pressed, will activate another application.
  587.  
  588.                Defining a Macro
  589.  
  590.                In the scroll back, press F4.  A screen displays which
  591.                contains 5 separate groups of macro definition.  Fill in the
  592.                information as follows:
  593.  
  594.                Key:           This is the key that you will press to
  595.                               activate the application
  596.                Description:   This is for your own reference.  Enter a
  597.                               brief description containing the general
  598.                               purpose of this key
  599.                Action:        Return or Exit.  If you select Return,
  600.                               PSEARCH will return to the after performing
  601.                               the desired command.  You must have enough
  602.  
  603.  
  604.  
  605.  
  606.  
  607.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  608.  
  609.                               memory to run both applications at once using
  610.                               this method.  If you select Exit, PSEARCH
  611.                               will leave memory and automatically invoke
  612.                               the specified application and will NOT return
  613.                               to PSEARCH after completion.  You will have
  614.                               all the available memory dedicated to the
  615.                               selected application.
  616.                Command:       Command to execute.  Enter the name of the
  617.                               application and substitute in the '&' or the
  618.                               '#' as appropriate.  If the application is
  619.                               not in the DOS PATH, PSEARCH will not be able
  620.                               to find the application and will fail.  If
  621.                               you want to invoke a .BAT file in 'EXIT'
  622.                               mode, you MUST include "COMMAND /C" in front
  623.                               of the .BAT file name.
  624.  
  625.           After defining keys in the scroll back, simply press the key
  626.           while in the scroll back and PSEARCH will invoke the desired
  627.           application.
  628.  
  629.           PSEARCH Command Line Mode
  630.  
  631.           The Command Line mode allows you to enter the PS command and
  632.           parameters at the DOS prompt.  In this mode, PSEARCH works just
  633.           like all the other Patri-Soft Utilities.  Although more difficult
  634.           to master, the command line mode is the easiest and fastest to
  635.           use once you become more familiar with PSEARCH.
  636.  
  637.  
  638.  
  639.           PSEARCH Command and Parameters
  640.  
  641.  
  642.           PSEARCH allows you to specify many command parameters to
  643.           customize the printing process.  All these parameters are
  644.           optional.  The command format and parameters are described below. 
  645.           The command for PSEARCH is PS.
  646.  
  647.           PS [fspec]
  648.                     /T:text /CT:text /F /S /E /A /D /M /C /P /PR /PF /MO
  649.                     /O:nn /N:nn /X[F][P]:cmd /AT:c /FW /FP /FS /DR:xxx /SO
  650.                     /AR /AO /FX /SK
  651.  
  652.  
  653.           [fspec]   Enter the DOS file specification for the directory and
  654.                     file names to be searched.  If no directory name is
  655.                     specified, PSEARCH will search the current directory.
  656.  
  657.                     Note:  If the /A parameter is specified, the directory
  658.                     name portion of this parameter is not used.  The /A
  659.                     parameter is described below.
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  667.  
  668.           Flex Filename Searching Control Characters
  669.  
  670.           The filename specification may contain a full DOS pathname
  671.           including standard DOS wildcard characters * and ?.  In addition,
  672.           the special characters '~', '!', or ';' may be placed immediately
  673.           before the filename to specify more flexible filename search
  674.           criteria.
  675.  
  676.           ~ Soundex
  677.                     Select any filename that sounds like the specified
  678.                     name.  For example,
  679.  
  680.                          ~WORD
  681.  
  682.                          would select:
  683.  
  684.                          WORD WOOORD WRD WOOD WORLD
  685.  
  686.           ; No Vowel
  687.                     Select equal filenames but ignore vowels AEIOU in
  688.                     filename.  For example,
  689.  
  690.                          !WOORD
  691.  
  692.                          would select:
  693.  
  694.                          WoRD WoooRD WieRD WRD
  695.  
  696.           ! Characters
  697.                     Select any filenames that contain the characters
  698.                     entered.  For example,
  699.  
  700.                          !WD
  701.  
  702.                          would select:
  703.  
  704.                          WorD.dat WilDone.dat lstWorD.x
  705.  
  706.  
  707.           SPECIFY A LIST OF FILES TO BE SEARCHED
  708.  
  709.           As an alternative, a file containing a list of input files may be
  710.           supplied.  Create  a file containing lines  with a filename or
  711.           complete pathname on  each line.  Provide  this filename as the
  712.           source filename to PSEARCH and add an @ character before the
  713.           name.  The list of files will be processed as if they were all
  714.           specified on the input command line.
  715.  
  716.           For file list processing, PSEARCH understands the output of the
  717.           DOS DIR command.  You may use the DOS redirection feature to
  718.           direct DIR output to a file, edit the file to add or remove
  719.           entries, and then provide this to PSEARCH as input.  For example:
  720.  
  721.  
  722.  
  723.  
  724.  
  725.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  726.  
  727.                DIR \TURBOC\C\*.C > FILE.LST
  728.                PSEARCH @FILE.LST /T:TEXT
  729.  
  730.  
  731.           /AO  Archive Only.  If you have files on your system that are
  732.                compressed into archive files with DOS extension names of
  733.                .ZIP, .ARC, or .LZH, PSEARCH is to search only these files. 
  734.                This parameter is valid only for file name searches. 
  735.                PSEARCH does not decompress these file contents for text
  736.                search requests.
  737.  
  738.                     When supplied, the /AO parameter specifies that all
  739.                     archive files are to be searched internally for file
  740.                     names compressed in them that meet the file name
  741.                     specification.
  742.  
  743.                     Note:  Do not specify .ARC, .ZIP, or .LZH in the
  744.                     PSEARCH file specification.  PSEARCH will automatically
  745.                     find and search these files.
  746.  
  747.           /AR  ARchive files as well as regular files.  PSEARCH will search
  748.                both archive files and non-archive files for matching file
  749.                name specifications.  Valid only for file name searches. 
  750.                (See also the /AO parameter).
  751.  
  752.           /AT:c     ATtributes.  PSEARCH is to search for files having one
  753.                     or more of the attributes specified by the /AT:
  754.                     parameter, as follows:
  755.  
  756.                     U    Updated.  The DOS ARCHIVE flag is on to indicate
  757.                          the file has been updated since the last backup.
  758.  
  759.                     R    Read Only.  The DOS READONLY flag is on.
  760.  
  761.                     H    Hidden.  The DOS HIDDEN flag is on.
  762.  
  763.                     S    System.  The DOS SYSTEM flag is on.
  764.  
  765.                     For example, specify /AT:U to locate all files that
  766.                     have been updated since your last backup was done.  Use
  767.                     /AT:H to determine what hidden files exist on your
  768.                     disks.
  769.  
  770.           /C Case
  771.                     Indicates that text search requests are to be case
  772.                     sensitive; i.e., exact upper/lower case matches must
  773.                     occur.  Normally it is easier to let PSEARCH find text
  774.                     data regardless of its case.  This allows you to find
  775.                     all possible matches.
  776.  
  777.                     Case sensitive search is useful when you know the text
  778.                     is specified in an exact way.  It reduces the number of
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  786.  
  787.                     false matches that may be encountered during the
  788.                     search.
  789.  
  790.           /CT: Change Text.  If you would like PSEARCH to search and
  791.                replace, use a /CT parameter for every /T: parameter.  The
  792.                /CT applies to the preceeding /T: paramter.  An example of
  793.                the usage would be:
  794.  
  795.                     PS *.BAT /T:CD\WP50 /CT:CD\WP51
  796.  
  797.  
  798.           /DR: DRive list.  If the drive is not specified in the main
  799.                pathname, PSEARCH will search the current disk device.  /DR:
  800.                specifies one or more drives on which to perform the search. 
  801.                The /DR: parameter is useful for systems equipped with
  802.                multiple hard disks.
  803.  
  804.                     The following example indicates the search is to be
  805.                     done on drives C and D.
  806.  
  807.                          /DR:cd
  808.  
  809.                     Note:  Specify this parameter in the PSEARCH DOS
  810.                     environment variable to force it to be in effect for
  811.                     all command line executions of PSEARCH.
  812.  
  813.  
  814.           /DS  Directory path search.  Normally PSEARCH will search only
  815.                the current directory, or the entire disk if /S is also
  816.                specified.  The /DS parameter indicates PSEARCH is to search
  817.                the specified or current directory and all of its
  818.                subordinate directories for file names.
  819.  
  820.                     This parameter is useful for system that have well
  821.                     structured hard disk directories.  For example, PSEARCH
  822.                     can easily search all word processing directories if
  823.                     all these directories are subordinate to a single high-
  824.                     level directory name.
  825.                     For example, if you have a directory structure like the
  826.                     following:
  827.  
  828.                     C:\                      Root directory
  829.                     C:\WPSYS\           Word processing system
  830.                     C:\WP\                   Word processing data
  831.                     C:\WP\PLANNING\          Planning documents
  832.                     C:\WP\MEMOS\        Memos
  833.                     C:\WP\STANDARD\          Policies and Procedures
  834.  
  835.                     Use the following PSEARCH command to search for all
  836.                     documents containing the text "emergency"...
  837.  
  838.                          PS C:\WP\*.*/t:emergency/ds
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  846.  
  847.                     Only the word processing document files will be
  848.                     searched.  All other directories on your hard disk will
  849.                     be ignored.
  850.  
  851.           /EX  Exclude files.  The exclude facility allows you to provide a
  852.                list of pathname and filename specifications that are to  be
  853.                excluded from processing.  See below.
  854.  
  855.                     The PSEARCH Exclude Facility                     The PSEARCH Exclude Facility
  856.  
  857.                     Searching through data on your hard disk requires
  858.                     extensive processing and disk read time, so excluding
  859.                     files from the process will save time and will reduce
  860.                     the number of false matches encountered.
  861.  
  862.                     The most common files to exclude from text search
  863.                     processing are product program and control files. 
  864.                     These files constitute a large portion of your hard
  865.                     disk's used space and unnecessarily lengthen the time
  866.                     it takes searches to locate the desired data.
  867.  
  868.  
  869.                     Exclude File
  870.  
  871.                     If you want to use different exclude criteria for Text
  872.                     Searches and File Name Searches, you may create
  873.                     separate files, using the following names:
  874.  
  875.                     PSEARCHF.EXC
  876.                          File Name Search exclude specifications
  877.  
  878.                     PSEARCHT.EXC
  879.                          Text Search exclude specifications
  880.  
  881.                     These files may be created using a standard word
  882.                     processor or text editor, or you may use the EDLIN text
  883.                     editor provided with your DOS system.  Place these
  884.                     exclude files in the same directory the PS.EXE file is
  885.                     located in.  The file (or files) will contain the names
  886.                     of all the files and paths to be excluded.  You may
  887.                     specify DOS pattern names to exclude groups of files
  888.                     with a single specification.
  889.  
  890.                     Like DOS, an '*' indicates the last part of a filename
  891.                     or filename extension may be any set of characters. 
  892.                     Also like DOS, the '?' indicates that any single
  893.                     position of a filename may be any character.
  894.  
  895.                     Two additional pattern features are available that are
  896.                     not used with DOS.  You may place an '*' anywhere in
  897.                     the filename to indicate any set of characters may
  898.                     exist in this point in the name.  For pathnames, you
  899.  
  900.  
  901.  
  902.  
  903.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  904.  
  905.                     may place two '**' at the end of a directory path
  906.                     specification to indicate the specification applies to
  907.                     the specified directory and all subordinate
  908.                     directories.  Using '**', you can exclude an entire
  909.                     path with a single specification.
  910.  
  911.                     The exclude facility is implemented with two actions. 
  912.                     First, the /EX parameter must be specified.  Second,
  913.                     you must have a valid exclude file or files, or PSEARCH
  914.                     will not continue.
  915.  
  916.                     Note:  If you wish the Exclude facility to be active
  917.                     during all executions, specify /EX as part of the
  918.                     PSEARCH= DOS environment variable.
  919.  
  920.                     Examples of /EX Parameter
  921.  
  922.                     1.   Exclude all filenames with the extension .EXE from
  923.                          processing.
  924.  
  925.                          *.EXE
  926.  
  927.                     2.   Exclude all filenames ending with extension .COM.
  928.  
  929.                          *.COM
  930.  
  931.                     3.   Exclude all filenames beginning with the letters
  932.                          "TEST" from processing.
  933.  
  934.                          TEST*.*
  935.  
  936.                     4.   Exclude all filenames having the characters "TEST"
  937.                          anywhere in the first portion of the filename.
  938.  
  939.                          *TEST*.*
  940.  
  941.                     5.   Exclude files having "DO" as the first two
  942.                          characters of the filename, and "FIX" as the 4th,
  943.                          5th, and 6th characters.  The third character of
  944.                          the filename may be any character.
  945.  
  946.                          DO?FIX.*
  947.  
  948.                     6.   Exclude file names beginning with the two
  949.                          characters "PC" and where the first portion of the
  950.                          filename ends with the characters "XX".  Any
  951.                          characters, 0 to 4 in number, may exist between
  952.                          the "PC" and "XX" in the first portion of the
  953.                          filename.
  954.  
  955.                          PC*XX.*
  956.  
  957.  
  958.  
  959.  
  960.  
  961.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  962.  
  963.                     7.   Exclude all files from the DOS directory on drive
  964.                          C:.
  965.  
  966.                          C:\DOS\*.*
  967.  
  968.                     8.   Exclude all files from the TEST directory existing
  969.                          on any drive searched.
  970.  
  971.                          \TEST\*.*
  972.  
  973.                     9.   Exclude all files from the D:\GAMES\ directory and
  974.                          also exclude all files and directories subordinate
  975.                          to the GAMES directory.
  976.  
  977.                          D:\GAMES**\*.*
  978.  
  979.           /F        Find File in the current directory.  Normally PSEARCH
  980.                     will search all directories to find a file.  Use the /F
  981.                     parameter to have PSEARCH only search the specified or
  982.                     current directory.
  983.  
  984.           /FP  Find Prefix.  Indicates that matching text must be at the
  985.                end of an existing word (use with /T:).  Designed primarily
  986.                for word searches, this parameter qualifies the search to
  987.                help you find exactly the match you want.
  988.  
  989.           /FS       Find Suffix.   Indicates that matching text must be at
  990.                     the beginning of an existing word (use with /T:).
  991.  
  992.           /FW  Find Word.  Indicates that matching text must be a word (use
  993.                with /T:).  A word is defined as any string of characters
  994.                and numbers that does not begin or end with other characters
  995.                or numbers.  For example, in "This", "This" is a word, but
  996.                "is" is not a word.
  997.  
  998.                     The command:
  999.  
  1000.                          PS *.*/t:is/fw
  1001.  
  1002.                     will match for the word "is" but will not match on the
  1003.                     "is" characters in the word "this".
  1004.  
  1005.           /L        Line numbers.  When you are searching DOS text files
  1006.                     for specific text (/T: parm used), use the /L parameter
  1007.                     to cause PSEARCH to determine and display the number of
  1008.                     the line associated with the text displayed.
  1009.  
  1010.                     DOS text files are those files that have a carriage
  1011.                     return and line feed at the end of each line of text. 
  1012.                     A good example of these is DOS batch command files
  1013.                     (*.BAT).  Word processing files often do not use this
  1014.                     format, so line number specifications are not often
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  1021.  
  1022.                     useful for them.
  1023.  
  1024.           /MO  MOre.  Stops screen scrolling when the end of each screen
  1025.                page is reached.  After the display stops, you may press
  1026.                <ESCAPE> to terminate processing, <C> to disable /MO and
  1027.                display without stopping again, or press any other key to
  1028.                display another page of the display and stop again.
  1029.  
  1030.           /N:nnn
  1031.                     Newdays.  Indicates that only files created or updated
  1032.                     within the last nnn days are to be selected for
  1033.                     processing.  /N:1 causes any files updated within the
  1034.                     last day to be selected.  To match only those files
  1035.                     updated on the current date, specify /N:0.
  1036.  
  1037.           /ND  No Display.  For text searches, PSEARCH normally displays
  1038.                the text when a match is found.  If you only want the file
  1039.                names shown, use the /ND parameter to deactivate the text
  1040.                display.
  1041.  
  1042.           /NM  No Multiples.  For text search specifications, causes
  1043.                PSEARCH to only search for a single occurrence of matching
  1044.                text in any file and display it.  Other matches may exist in
  1045.                the file.
  1046.  
  1047.                     Use the /NM parameter to shorten your display of output
  1048.                     and improve search performance by stopping the search
  1049.                     of a file after a single match is shown.
  1050.  
  1051.           /NP  Suppress all PSEARCH displays. This is designed to be used
  1052.                when PSEARCH is invoked by other applications to build a
  1053.                list of files found matching the search criteria.
  1054.  
  1055.           /NW  No Windows.  PSEARCH normally operates in full screen window
  1056.                mode.  To deactivate this feature and display all output in
  1057.                normal DOS line mode, specify this parameter.
  1058.  
  1059.                     The /NW parameter causes PSEARCH to use BIOS type
  1060.                     screen writes to display output.  The /NW parameter may
  1061.                     be useful when you have special devices or TSRs active
  1062.                     that screen or capture output going through these
  1063.                     interfaces.
  1064.  
  1065.           /O:nnn
  1066.                     Olddays.  Indicates that only files older than nnn days
  1067.                     are to be selected for processing. Specify /O:365 to
  1068.                     select files over one year old.
  1069.  
  1070.           /P        Pause.  PSEARCH will pause whenever a match of filename
  1071.                     or text in a file is found. You may terminate the
  1072.                     search or continue by pressing any key.
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  1079.  
  1080.           /PF  Print to File.  To direct print to an output file, enter
  1081.                /PR.  The file PSPRINT.DAT will be created in the current
  1082.                directory.  The resulting file may be edited or viewed using
  1083.                a word processor, text editor, or the DOS TYPE command.
  1084.  
  1085.           /PR  PRint.  Direct screen output also to the output printer
  1086.                device.  This allows you to have a printed record of PSEARCH
  1087.                results.
  1088.  
  1089.           /R:nnn
  1090.                     Near.  Use when you specify multiple /T: parameters. 
  1091.                     Specifies the number of characters that may exist
  1092.                     between two sets of text characters to be searched.  In
  1093.                     other words, the text will only be considered a match
  1094.                     if it is within n characters of the other text
  1095.                     specified.
  1096.  
  1097.                     The /R parameter lets you find values you know are
  1098.                     related to one another and know the values will exist
  1099.                     within close proximity of each other in the file.  For
  1100.                     example, the following command will search files for
  1101.                     the name "Jones" and will also help identify a letter
  1102.                     to this person by indicating the search is only to
  1103.                     match the name "Jones" when it exists near the letter
  1104.                     salutation "Dear".  The /R:50 value indicates the two
  1105.                     values must be within 50 characters of each other in
  1106.                     the file.
  1107.  
  1108.                          PS *.*/t:jones/t:dear/r:50/ta
  1109.  
  1110.  
  1111.           /S        System.  All directories on the drives specified are to
  1112.                     be searched.  If not specified, only the current or
  1113.                     specified directory is searched.
  1114.  
  1115.  
  1116.           /SO  Sound Off.  Turns the sound off at the beginning of a
  1117.                PSEARCH execution.  It may be turned back on at any time by
  1118.                using the sound PF key.
  1119.  
  1120.  
  1121.           /T:text to be searched
  1122.                     Specifies the text to be found for text search
  1123.                     requests.  The text string may contain any characters. 
  1124.                     A terminating command line or the following slash
  1125.                     character will signal the end of the text to be
  1126.                     searched.  If this is the last parameter on the
  1127.                     command, any trailing spaces will not be included in
  1128.                     the search.  To include trailing spaces, terminate the
  1129.                     string with an ending slash character.
  1130.  
  1131.                     Text may be specified in upper or lower case. Unless
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  1138.  
  1139.                     the /C parameter is specified to force exact case
  1140.                     matches, the search will be made for any text match
  1141.                     regardless of case.
  1142.  
  1143.                     Strings may also be single or double quoted. This
  1144.                     allows for special characters to be included in the
  1145.                     search string, such as "/" characters.  For example,
  1146.  
  1147.                          /T:BUDGET /T:Budget /T:Mr. Jones/
  1148.                          /T:"01/01/88"
  1149.  
  1150.                     Note:  To include a trailing space as part of search
  1151.                     text, you must follow the search text by another /
  1152.                     command parameter. For example:
  1153.  
  1154.                          PS *.C/T: SMITH /TA
  1155.  
  1156.                     Up to five /T: parameter specifications may be included
  1157.                     for text search requests.  This allows PSEARCH to
  1158.                     search for five different texts in a single pass of a
  1159.                     disk or directory.  When multiple text is specified,
  1160.                     consider the use of the /TA parameter (described below)
  1161.                     to force PSEARCH to find all text in a single file
  1162.                     before considering the file a match.
  1163.  
  1164.                     The presence of the /T: parameter indicates the search
  1165.                     is to be for text in a file or for file names.  Any
  1166.                     command line mode execution of PSEARCH without the /T:
  1167.                     parameter will cause PSEARCH to assume the request is
  1168.                     to locate files by name only.
  1169.  
  1170.           /TA  Text AND.  Used when  multiple /T: parameters are specified
  1171.                to indicate that all text strings specified on the command
  1172.                must be found in the file to be considered a match.  Without
  1173.                /TA specified, any matching text from any /T: parameter
  1174.                specification on the command will be considered a match.
  1175.  
  1176.  
  1177.           /X:xxx
  1178.                     eXecute.  This parameter causes PSEARCH to build and
  1179.                     execute a DOS command whenever a filename match or a
  1180.                     text match is found. The DOS command to be executed is
  1181.                     specified by "xxx".
  1182.  
  1183.                     The command may either be a standard DOS command or the
  1184.                     name of a DOS batch command file.  The command will be
  1185.                     executed with a second copy of COMMAND.COM. The command
  1186.                     data may contain the following special characters to
  1187.                     allow for substitution values:
  1188.  
  1189.                     #    Always replaced with the selected filename.
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  1197.  
  1198.                     &    Always replaced with the selected path/filename.
  1199.  
  1200.                     !    Always replaced with the filename without
  1201.                          extension.
  1202.  
  1203.                     @    Replaced with a slash to allow for command
  1204.                          parameters to be specified in executed commands.
  1205.  
  1206.  
  1207.                     Examples of /X Parameter
  1208.  
  1209.                     1.   To delete selected files:
  1210.  
  1211.                          /X:ERASE &
  1212.  
  1213.                     2.   To use ARC utility to archive file
  1214.  
  1215.                          /X:ARC A OLD123.ARC #
  1216.  
  1217.                     3.   To type the file:
  1218.  
  1219.                          /X:TYPE &
  1220.  
  1221.                     4.   Start 123 for the file:
  1222.  
  1223.                     /X:LOTUS
  1224.  
  1225.           /XF:xxx   eXecute File.  Works like the /X parameter, except the
  1226.                     command is generated and placed in a DOS batch command
  1227.                     file named PSCMDS.BAT in the current directory.  This
  1228.                     file may be edited before it is executed.
  1229.  
  1230.           /XP:xxx   eXecute with Pause.  Works like the /X parameter except
  1231.                     you are asked to confirm that the command is to be
  1232.                     executed for each file selected in a match.
  1233.  
  1234.  
  1235.           PSEARCH Color and Monitor Support
  1236.  
  1237.           PSEARCH checks the DOS equipment flags to determine what type of
  1238.           monitor you have on your system.  This is usually always correct
  1239.           except for one specific occasion.  If you are running a composite
  1240.           monitor with a color graphics card, the screens may not be
  1241.           displayed correctly.  If this occurs, use the DOS MODE command to
  1242.           set your environment to black and white.  This can be done at
  1243.           system startup or just before starting PSEARCH.  Be aware that
  1244.           some applications incorrectly reset the environment and it may
  1245.           need to be reset before again running PSEARCH.
  1246.  
  1247.           The following sample DOS MODE command shows how to set the
  1248.           environment to black and white.
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.           PSEARCH User's Guide                 Copyright 1992 by Patri-Soft
  1255.  
  1256.                MODE BW80
  1257.  
  1258.           See the DOS Reference Manual for more information about setting
  1259.           the monitor with the MODE command.
  1260.           Pausing the Search
  1261.  
  1262.           Regardless of whether or not the Pause parameter is specified,
  1263.           you may pause PSEARCH processing at any time by pressing any key
  1264.           on the keyboard.  At the end of the next process PSEARCH will
  1265.           pause, and you will have the option to continue the search, use a
  1266.           function key, or exit from PSEARCH.
  1267.  
  1268.  
  1269.  
  1270.      Program Maintenance History
  1271.      ---------------------------
  1272.  
  1273.      There is an ongoing commitment to improve PSEARCH as long as there
  1274.      is expressed need by PSEARCH users. I do respond to your requests.
  1275.      The enhancements below reflect both user requests and my own ideas.
  1276.      Please let me know of your needs, maybe they can appear on this
  1277.      list in the future.
  1278.  
  1279.      ------------------------------------------------------------------
  1280.  
  1281.      Version 1.0      March 1, 1986
  1282.           --  PSEARCH Version 1.0 was released in March 1st, 1986
  1283.  
  1284.  
  1285.  
  1286.      Version 2.0      April 8, 1986
  1287.           PSEARCH Version 2.0 was released April 8th, 1986. It
  1288.               upgraded version 1 with the following new features.
  1289.  
  1290.           -- Ability to search in .ARC files for filenames /AR /AO
  1291.           -- Find text by WORD, PREFIX, or SUFFIX /FW /FP /FS
  1292.           -- Returns back to menus after search is complete
  1293.           -- Extract data to file implemented
  1294.           -- Fix to show found text un upper/lower case
  1295.           -- /SO to turn sound off
  1296.           -- Ability to exclude .COM and .EXE files from search
  1297.           -- Ability to search all drives attached to system /DR:abc
  1298.  
  1299.      Version 3.0      September 7, 1986
  1300.           PSEARCH Version 3.0 was released Sept. 7th, 1986. It upgraded
  1301.           version 2 with the following new features.
  1302.  
  1303.           -- Sound alike and other new filespec wildcards (! ; ~).
  1304.           -- More menu options on the Peak menu.
  1305.           -- Correction to retrieve proper environment string to be used
  1306.              when executing DOS commands.
  1307.  
  1308.      Version 3.3      July 5, 1987
  1309.           -- Change registration so there is no longer a need to have
  1310.              the PSEARCH.REG file exist in the root directory.
  1311.  
  1312.           -- Text searches will not attempt to search .ARC files. Since
  1313.              these files are compressed it makes no sense to search them
  1314.              for text.
  1315.  
  1316.           -- Use environment field PS= to specify default command
  1317.              parameters.
  1318.  
  1319.      PSEARCH Users Guide/Reference    Copyright 1992 Patri-Soft   Page 28
  1320.      --------------------------------------------------------------------
  1321.  
  1322.      Version 3.4      September 16, 1987
  1323.  
  1324.           -- Ignore ~ ! and ; filename search characters unless they are
  1325.              in the first position of the filename. Previous versions
  1326.              file searches would fail if these characters were found in
  1327.              any position but the first.
  1328.  
  1329.           -- Correct filename matching. If file XXX would not be found
  1330.              if pattern name of XXX.* was specified.
  1331.  
  1332.           -- When print option was used with menus, when processing
  1333.              completed, menu text was printed to the printer. Corrected.
  1334.  
  1335.  
  1336.      Version 3.8      March 1, 1988
  1337.  
  1338.           -- Add ability to accept " or ' quoted strings in text search
  1339.              input command data. This is for the /T: parameter only.
  1340.  
  1341.  
  1342.  
  1343.      Version 4.0      February 22,1990
  1344.  
  1345.           This version is essentially a rewrite of the original PSEARCH
  1346.           facility.  All the changes are too numerous to mention.
  1347.           Following is a list of the most significant changes.
  1348.  
  1349.           Enhancements...
  1350.           -- Add ability to search up to 5 text strings
  1351.           -- AND/OR capability on text strings
  1352.           -- New exclude file allows user to specify file names
  1353.           -- New menu structure
  1354.           -- Near parameter to force multiple text matches to be within
  1355.              n characters of each other.
  1356.           -- /NW implements no window mode for those that need or prefer
  1357.              DOS style displays.
  1358.           -- /DS parameter allows a single directory path including all
  1359.              subordinate directories to be searched.
  1360.           -- The limit of the number of directories that can be searched
  1361.              greatly enhanced.  The maximum number of directories is
  1362.              related to the amount of free memory available to PSEARCH.
  1363.  
  1364.           Items removed...
  1365.           -- The Peak feature has been removed.
  1366.           -- The 5 text strings replaces the ability to specify a ?
  1367.              in the text search string.
  1368.           -- The exclude file replaces the /SK command to skip
  1369.              .COM and .EXE files.
  1370.  
  1371.      PSEARCH Users Guide/Reference    Copyright 1992 Patri-Soft   Page 29
  1372.      --------------------------------------------------------------------
  1373.      Version 4.1      February 26, 1990
  1374.           -- System lockup during speaker beeps.  Also improper beeps.
  1375.           -- Set sounds off as default
  1376.           -- Set pause at full screen (more) as default in command mode
  1377.  
  1378.      Version 4.2      March 9, 1990
  1379.           -- Added /RT parm to show related text
  1380.           -- Added field edit capabilities.
  1381.           -- Removed more line from display after user pressed a key
  1382.           -- Replaced /MO with /NO.  More was made default.
  1383.  
  1384.      Version 4.3      May 4, 1990
  1385.           -- Corrected errors encountered when processing .ZIP files
  1386.              containing directory names as well as filenames.
  1387.           -- Corrected problem where PSEARCH ignored the drive
  1388.              specification for the path to be searched.
  1389.           -- Added directory name to filename display on search display
  1390.           -- Added a screen of condensed help.
  1391.           -- Improved screen I/O performance
  1392.           -- Removed requirement to place quotes around text to be
  1393.              searched for in command line.  You may now search for
  1394.              data containing spaces.
  1395.                  PS *.TXT/T:Joe Doe
  1396.  
  1397.  
  1398.           -- File find now searches all hard disk drives unless a
  1399.              specific drive is specified.
  1400.           -- /S parameter causes all hard disk drives to be scanned
  1401.              unless a specific drive is specified in the supplied
  1402.              pathname.
  1403.  
  1404.      Version 4.4a     July 11, 1990
  1405.           -- When PS *.exe/DS used.  The same directory was searched
  1406.              3 times.  This only happened when directory had no
  1407.              subdirectories.  PS was fixed to scan the directory once.
  1408.           -- For network operation  -- added auto skipping of any files
  1409.              DOS denied access to.  A message is printed for each file
  1410.              that is bypassed.
  1411.           -- Detect bad exclude file specifications and stop processing.
  1412.              Processing used to continue but not select any files.
  1413.           -- PSEARCH was searching all directories for a file even when
  1414.              a specific pathname was specified.  The search is now
  1415.              limited to just the specified pathname.
  1416.           -- Support multiple drive parameter (/DR:) when directory name
  1417.              specified.  Allows multiple drives to be searched for a
  1418.              single directory name.
  1419.           -- PS *.* /AT:u stopped displaying output when readonly,
  1420.              hidden, system, updated file displayed.
  1421.           -- Added [=blank and ]=\ to /X: command substitution
  1422.  
  1423.         PSEARCH Users Guide/Reference    Copyright 1992 Patri-Soft   Page 30
  1424.         --------------------------------------------------------------------
  1425.      Version 4.4c  December 17, 1990
  1426.           -- Added capability to specify a list of files to be searched
  1427.              on the command line using the "@" symbol.
  1428.           -- Added the /NP (No Print) parameter
  1429.           -- Enhanced the .EXC file to be able to process SELect and EXClude
  1430.              statements.
  1431.      Version 4.4D
  1432.           -- Fixed problem with registration info not displayed.
  1433.      Version 4.4E
  1434.           -- When PSEARCH.DAT found during file search IN ARCHIVES,
  1435.              program locked up.
  1436.           -- /X: parm did not work in /NW mode.  DOS returned Bad command
  1437.              or filename.
  1438.           -- A couple little comsmetics.
  1439.           -- If a corrupted .ZIP file was encounterd, PS crashed.  Now skips
  1440.              the file.
  1441.  
  1442.      Version 5.0
  1443.           -- Added /PA to append to the PSPRINT.DAT
  1444.           -- Added scroll back feature
  1445.           -- Added View feature to menu.  View prev scroll back
  1446.           -- Added text and WordPerfect file viewers.  Press enter
  1447.              when scroll bar is within a file on the scroll display.
  1448.           -- Added evaluation day message pregmsg() in pmregis.c
  1449.           -- Allow empty search strings for batch file use
  1450.                     Can have command PS /T:word/T:/T:
  1451.           -- \ characters was not considered printable. Added \\.
  1452.           -- Change PSEARCH.DAT to PS.DAT
  1453.           -- Default to "more" off in menus. Due to scroll back option
  1454.           -- Added /HA parameter to display hi-ascii chars
  1455.           -- Directories now searched in alphabetical order
  1456.           -- You may now specify incomplete pathnames such as C\*.*
  1457.              It is assumed C is a directory subordinate to the current
  1458.              directory.
  1459.  
  1460.      Version 5.1
  1461.  
  1462.           -- When using the /R parameter, PSEARCH will only display the
  1463.              parts of the file that actually matches, and not the entire
  1464.              file.
  1465.           -- PS will now remove trailing spaces on /T: specifications.
  1466.           -- /TA is now assumed when /R is specified.
  1467.           -- Show number of word matches
  1468.           -- When searching for text, 0 byte files would eventually
  1469.              cause PS to encounter DOS error 4.
  1470.           -- Scroll back counter was incorrect, often showing high
  1471.              values.
  1472.           -- /HA can be specified to display High Ascii even when
  1473.              searching from the menu.
  1474.  
  1475.  
  1476.         
  1477.  
  1478.  
  1479.